|
The CLI (command-line interface) Client component of HBAnyware provides
access to the capabilities of the Remote Management library from a console
command prompt. This component is intended for use in scripted operations
from within shell scripts, batch files, or the specific platform equivalent.
| Note |
HBAnyware must be running on all remote
hosts that are to be discovered and managed.
Remote capabilities of HBAnyware are subject to fabric zoning configuration.
Remote hosts to be discovered and managed by HBAnyware must be in the
same zone. |
Using the CLI Client
The CLI Client is a console application named HBACMD.EXE. Each time
you run this application from the command line, a single operation is
performed.
The first parameter of this command is the requested operation. When
the specified operation is completed, the command prompt is displayed.
Most operations retrieve information about an entity on the SAN and display
that information on the console.
Most of the CLI Client commands require one or more additional parameters
that specify the nature of the command. A parameter used by many HBACMD
commands specifies the World Wide Node Name of the host bus adapter (HBA)
that is the target of the command. For example, the following command
displays the port attributes for the HBA with the specified World Wide
Node Name:
|
c:\>hbacmd
portattrib 10:00:00:00:c9:20:20:20 |
HbaCmd can be run in out-of-band mode by making the first argument ‘h=<host>’.
For example:
| c:\>hbacmd
h=cp-hp5670 listhbas
c:\>hbacmd
h=138.239.91.121 listhbas |
CLI Client Command Reference
| Version |
| |
|
|
| |
Syntax |
HBACMD VERSION |
| |
Description |
The current version of the HBAnyware CLI Client application. |
| |
Parameters |
N/A |
| List HBAs |
| |
|
|
| |
Syntax |
HBACMD LISTHBAS |
| |
Description |
A list of the discovered manageable Emulex HBAs and their
World Wide Node Names. |
| |
Parameters |
N/A |
| Display
HBA Attributes |
| |
|
|
| |
Syntax |
HBACMD HBAAttrib <wwnn> |
| |
Description |
A list of attributes for the HBA with the specified World
Wide Node Name. |
| |
Parameters |
wwnn |
| Port Attributes |
| |
|
|
| |
Syntax |
HBACMD PortAttrib
<wwpn> |
| |
Description |
A list of attributes for the port with the specified World
Wide Port Name. |
| |
Parameters |
wwpn |
| Port Statistics |
| |
|
|
| |
Syntax |
HBACMD PortStat <wwpn> |
| |
Description |
A list of statistics for the port with the specified World
Wide Port Name. |
| |
Parameters |
wwpn |
| Server
Attributes |
| |
|
|
| |
Syntax |
HBACMD ServerAttrib
<nodename> |
| |
Description |
A list of attributes for the specified server. |
| |
Parameters |
nodename |
| Download |
| |
|
|
| |
Syntax |
HBACMD DOWNLOAD <wwnn>
<filename> |
| |
Description |
Loads the specified firmware image to the (HBA) with the
specified WWNN. |
| |
Parameters |
wwnn |
| |
filename |
| Reset Adapter |
| |
|
|
| |
Syntax |
HBACMD RESET <wwpn> |
| |
Description |
Resets the HBA with the specified World Wide Port Name. |
| |
Parameters |
wwpn |
| Target
Mapping |
| |
|
|
| |
Syntax |
HBACMD TargetMapping
<wwpn> |
| |
Description |
A list of mapped targets for the port with the specified
World Wide Port Name. |
| |
Parameters |
wwpn |
|